from django.conf.urls import url

from apps.course.views import CourseView, CourseCategoryView

urlpatterns = [
    url(r'^$', CourseView.as_view()),
    url(r'^(?P<course_id>\d+)/$', CourseView.as_view()),
    url(r'^category/$', CourseCategoryView.as_view()),
    url(r'^category/(?P<category_id>\d+)/$', CourseCategoryView.as_view()),
]
